package com.zjhn.ds.service;

import com.zjhn.ds.common.BizResult;
import com.zjhn.ds.common.PageResult;
import com.zjhn.ds.domain.vo.CapacityStatisticsOutVo;
import com.zjhn.ds.domain.vo.MaintenanceChangeVo;
import com.zjhn.ds.domain.vo.MonthDailyDataVo;
import com.zjhn.ds.domain.vo.StaffInfoVo;
import com.zjhn.ds.param.CapacityStatisticsParam;
import com.zjhn.ds.param.MaintenanceChangePageParam;
import com.zjhn.ds.param.MonthDailyStatisticsParam;
import com.zjhn.ds.param.UpdateCapacityStatisticsParam;
import com.zjhn.ds.param.WeavingStaffPageParam;

import java.util.List;

/**
 * TODO 类作用描述
 *
 * @author sxt
 * @date 2024/8/16
 */
public interface MaintenanceChangeService {

    // 按条件分页查询改机/维修信息
    BizResult<PageResult<MaintenanceChangeVo>> page(MaintenanceChangePageParam param);

    // 单日产能统计
    BizResult<CapacityStatisticsOutVo> capacityStatistics(CapacityStatisticsParam param);

    // 查询织造车间用户信息
    BizResult<PageResult<StaffInfoVo>> weavingStaff(WeavingStaffPageParam param);

    // 单月产能统计
    BizResult<List<MonthDailyDataVo>> monthDailyStatistics(MonthDailyStatisticsParam param);

    // 生成每日统计
    BizResult<?> generateDailyStatistics(CapacityStatisticsParam param);

    // 单日产能更新
    BizResult<?> updateCapacityStatistics(UpdateCapacityStatisticsParam param);

}
